namespace System.Windows.Forms
{
    using System;
    using System.Drawing;

    internal class ControlPaint
    {
        internal static void DrawButton(Graphics g, Rectangle rc, ButtonState state)
        {
            g.FillRectangle(SystemBrushes.Control, rc);
            rc.Width--;
            rc.Height -= 2;
            g.DrawRectangle(SystemPens.WindowFrame, rc);
        }

        internal static void DrawComboButton(Graphics g, Rectangle rc, ButtonState state)
        {
            DrawButton(g, rc, state);
            int x = rc.X + (rc.Width / 2);
            int num2 = rc.Y + (rc.Height / 2);
            Point[] points = new Point[] { new Point(x - 3, num2 - 2), new Point(x + 3, num2 - 2), new Point(x, num2 + 1) };
            g.FillPolygon(SystemBrushes.WindowText, points);
        }

        internal static void DrawFocusRectangle(Graphics g, Rectangle rc)
        {
            g.DrawRectangle(SystemPens.ControlDarkDark, rc.X, rc.Y, rc.Width - 1, rc.Height - 1);
        }

        internal static void FillReversibleRectangle(Rectangle rc, Color color)
        {
        }
    }
}

